<template>
	<view class="login">
		<view class="head">
			<view class="title">
				<image src="../../static/img/tabbar/homeactive.png" mode=""></image>
				<text>注册您的AWE账号</text>
			</view>
		</view>
		
		<view class="content">
			<view class="title">账号密码设置</view>
			<view class="form-box">
				<uni-forms class="login-form" ref="form" label-position="top">
					<uni-forms-item name="text" label="登录密码">
						<uni-easyinput class="input" type="password" :inputBorder="false" v-model="formData.text" placeholder="请设置登录密码"></uni-easyinput>
					</uni-forms-item>
					<uni-forms-item name="text" label="确认登录密码">
						<uni-easyinput class="input" type="password" :inputBorder="false" v-model="formData.text" placeholder="请再次输入登录密码"></uni-easyinput>
					</uni-forms-item>
					<uni-forms-item name="password" label="交易密码">
						<uni-easyinput class="input" type="password" :inputBorder="false" v-model="formData.secreKey" placeholder="请设置6位数字交易密码"></uni-easyinput>
					</uni-forms-item>
				</uni-forms>
				<view class="footer">
					<button type="primary" @tap="nextStep">下一步</button>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				formData: {}
			}
		},
		methods: {
			// 下一步
			nextStep() {
				uni.navigateTo({
					url: "./registerFinalStep"
				})
			}
		}
	}
</script>

<style>
	@import url("@/common/login.css");
</style>
